package com.jprocms.module.cms.controller.admin.content.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author jprocms
 */
@Data
@Schema(description = "内容相关内容 Request VO")
public class ContentRelationReqVO {

    @Schema(description = "内容id")
    @NotNull(message = "内容id不能为空")
    private Long contentId;

    @Schema(description = "查询数目,默认10")
    private Integer count = 10;

    @Schema(description = "排序方式")
    private Integer orderBy = 0;

}
